﻿<BootstrapBlazorRoot>
    <TokenProvider>
        <TokenRefreshProvider/>
        <CascadingAuthenticationState>
            <Router AppAssembly="@typeof(Program).Assembly">
                <Found Context="routeData">
                    <RouteView RouteData="@routeData" DefaultLayout="@typeof(BaseLayout)"/>
                    <FocusOnNavigate RouteData="@routeData" Selector="h1" />
                </Found>
                <NotFound>
                    <LayoutView Layout="@typeof(BaseLayout)">
                        <p>正在玩命开发中 ...</p>
                    </LayoutView>
                </NotFound>
            </Router>
        </CascadingAuthenticationState>
    </TokenProvider>
</BootstrapBlazorRoot>
